Skip to main content

iRidi BYOD

In summer 2018, a new cloud object type, the "BYOD object", became available to all i3 Pro platform users

What is it?​

For technical solution options, see BYOD for integrators

BYOD (Bring Your Own Device) is a technology that allows users to use their personal mobile devices to work with corporate resources. It is most commonly used in companies where employees need to use personal mobile devices for work. In smart homes, this technology can be used successfully to provide guest access to a site. For example, visiting relatives may need access to control certain devices in the home. The standard process involving an integrator is lengthy and complicated. BYOD can address these difficulties. Guests simply install the application and scan a QR code. After obtaining data from the QR code, the application automatically downloads the required project implementing guest access to the site.

This concept is successfully used in hotels. When registering a guest, hotel staff set the check-in and check-out dates and provide the generated QR code. Scanning the code gives the guest access to devices in their room. Access is limited to the specified period, so the user cannot access the devices after checking out of the hotel.

Technology advantages​

  • Ease of use. There is no need to register or sign in to the system. To use it at a site, simply download the application and scan a QR code in it.
  • Security. Users can access only the functionality provided by the integrator when configuring the guest project.
  • Device adaptation. The system identifies the user's device type and resolution and provides a project matching these parameters.
  • Separate user permissions. A BYOD system can contain several project groups with different functionality (guest projects, site owner projects, and site staff projects).
  • Easy device replacement. If a user loses their smartphone, they can download the control project to a new device themselves, without signing in again or manually downloading the project.

Project management is more convenient thanks to cloud-based parameter storage. For example, a single project can now serve a group of standard rooms by passing distinguishing parameters in the QR code, such as the controller IP address, address group, etc. These parameters are encrypted and cannot be viewed by scanning with a third-party QR reader.

Application examples​

  • Private homes. BYOD provides full guest access with time and function limits. Guests do not gain access to critical site subsystems.
  • Apartment rentals. Providing temporary access is a challenge in apartment rentals. BYOD solves this: the apartment owner can generate guest access only for the rental period. When the rental period ends, the project stops working.
  • Hotels. The technology gives guests access to devices in their rooms.
  • Meeting rooms. At the start of a meeting in an automated meeting room, participants scan a QR code to access lighting, climate control, AV devices, etc.

General principles of a BYOD object​

A BYOD object is a cloud entity consisting of:

  • Configurations: a set of projects for one set of devices, with different resolutions. For example, in a hotel, a configuration is a set of projects for controlling luxury rooms, each project created for a particular panel type (iPad Air, iPhone 8, Samsung Galaxy s9, etc.).
  • Projects: ordinary projects for the i3 Pro platform.
  • Users: BYOD has 2 user types, administrators and front desk staff (reception). Administrators can create and edit configurations; front desk staff can check in guests and edit their stay times.
  • Guests: hotel guests who will use BYOD projects.

BYOD object structure​

BYOD_Schematic.png

BYOD configuration steps​

Configuring any BYOD object involves the following steps:

  • Creating and configuring projects, room configurations, additional fields, and their values.
  • Licensing and configuring the cloud object.
  • The administrator configures room configurations, additional fields, and their values.
  • Registering guests.

Creating projects​

Creating a BYOD project starts with preparing the automation projects. A BYOD project itself is no different from a standard i3 Pro project.

Keep in mind that it is impossible to predict the exact device on which a user will open the project. In this case, several projects in one configuration must be created for the most common screen resolutions.

During operation, the administrator can create additional custom fields and assign values to them. The list of these fields and their values must ultimately be passed to the guest's project.

When downloading a project, the guest's device must contact the BYOD object in the cloud to obtain this list and the field values. To do this, create a script in the project that requests these fields from the cloud.

For example, the administrator has created 4 additional fields, each with a specific name and value. One is a reference to a device in the room (KNX), while the other 3 must be displayed in the project (Pole123, Simbol, a123456789).

Custom_Fields.png

In this case, the field values will be displayed in items 1, 2, and 3 of the project.

Pro_project_v2.png

To do this, the script uses the IR.GetByodData() command, which accesses the cloud and passes the BYOD id.


var g_data = IR.GetByodData();
IR.Log("DATA******************************** " + JSON.Stringify(g_data))
IR.AddListener(IR.EVENT_START,0,function()
{
var l_data = IR.GetByodData();
IR.Log("DATA##################### " + JSON.Stringify(l_data))

In response, the cloud sends a list of the created fields and their values in JSON format. This JSON file is added to the script and processed.


var object = JSON.Parse(l_data);
if(object.Knx){
var ip = object.Knx;
var deviceknx = IR.GetDevice("KNX IP BAOS 771-774/777");
if(deviceknx)
deviceknx.SetParameters({
Host: ip
});
}
if(object.Pole123){
var p1 = object.Pole123
IR.GetPage("Page 1").GetItem("Item 27").GetState(0).Text = p1;
}
if(object.Simbol){
var p2 = object.Simbol
IR.GetPage("Page 1").GetItem("Item 28").GetState(0).Text = p2;
}
if(object.a1234567890){
var p3 = object.a1234567890
IR.GetPage("Page 1").GetItem("Item 29").GetState(0).Text = p3;
}

The field values from the website are then assigned to the project items.

Pro_project1.png

The complete script for displaying the fields in this example


var g_data = IR.GetByodData();
IR.Log("DATA******************************** " + JSON.Stringify(g_data))
IR.AddListener(IR.EVENT_START,0,function()
{
var l_data = IR.GetByodData();
IR.Log("DATA##################### " + JSON.Stringify(l_data))
var object = JSON.Parse(l_data);
if(object.Knx){
var ip = object.Knx;
var deviceknx = IR.GetDevice("KNX IP BAOS 771-774/777");
if(deviceknx)
deviceknx.SetParameters({
Host: ip
});
}
if(object.Pole123){
var p1 = object.Pole123
IR.GetPage("Page 1").GetItem("Item 27").GetState(0).Text = p1;
}
if(object.Simbol){
var p2 = object.Simbol
IR.GetPage("Page 1").GetItem("Item 28").GetState(0).Text = p2;
}
if(object.a1234567890){
var p3 = object.a1234567890
IR.GetPage("Page 1").GetItem("Item 29").GetState(0).Text = p3;
}
});

Configuring the cloud object​

After creating the projects, the integrator must sign in to their account on the iRidi mobile website, create a new cloud object, and upload the complete set of projects to it.

To simplify the administrator's subsequent work, the integrator can create a csv file containing room configurations and their equipment, system fields, and their default values. To create system fields in the csv file, use the reserved names:

  • Configuration
  • ArrivalDate
  • ArrivalTime
  • DepartureDate
  • DepartureTime
  • SessionTime
  • Email

This file is also uploaded to the account. It is optional because the administrator can create system fields independently.

A special BYOD license must then be purchased.

Licensing​

A BYOD license can be purchased in the account on iRidi mobile under pro\PRICE

License_way.png

BYOD technology is an add-on to a standard i3 Pro license. The cost of this add-on license depends on the number of rooms that will be created in the BYOD object.

License_Buy01.png

Tip

Question: How is the number of panels in the license related to the number of rooms (configurations) in BYOD?

Answer: The BYOD add-on does not limit the number of panels. Several panels can simultaneously obtain temporary BYOD licenses and control the equipment in one room (configuration). However, the overall iRidi license limits the number of panels (for example, the "расширенная" license sets a limit of up to 10 panels).

Creating categories​

Once the object is licensed, a tag can be assigned to each project.

Tag_v2.png

Projects with the same tags are subsequently grouped into categories.

Category.png

In each group, designate a Default project.

Default_Project_v2.png

Configure the project's supported resolutions.

Screen_resolution.png

When a user's device requests a project in a specific category, the system will select a project for that device's resolution. If no such project exists, the system will provide the project marked Default.

Intelligent project delivery subsystem​

An intelligent project delivery system addresses the variety of user devices. When a user's device requests a project, it sends its type (smartphone or tablet) and resolution to the cloud. The cloud searches for a project matching these parameters. If a matching project exists, the user downloads it; otherwise, the user downloads the project marked as the default project. The integrator therefore needs to anticipate the most likely user devices and prepare projects for their resolutions. When uploading projects to the cloud, specify each project's resolution and mark one default project. Since a project can be configured for several resolutions, the system allows it to be used on devices with different resolutions, provided they have the same aspect ratio. In this case, the project is stretched to the device's resolution and displayed on the user's device without any issues.

Examples of projects are shown below for:

  • tablets with a 4:3 aspect ratio

Resolution_tablet_v2.png

  • smartphones with a 16:9 aspect ratio

Resolution_smartphone_v3.png

Inviting users​

After configuring the categories, invite the administrator and front desk staff member. To do this, open the users section and invite a new user.

Share_projects_v2.png

Invite_users.png

In the window that opens, enter the user's login and select their role (Hotel admin or Hotel reception). These roles can be assigned to different users or to the same user. A user who is an integrator cannot be assigned the administrator or front desk role.

Also select the projects that the integrator will subsequently be able to affect.

Administering the project​

After the projects have been created and uploaded, users invited, and roles assigned, the administrator must create rooms based on the available categories. To do this, open the BYOD website https://byod.iridi.com and sign in. After signing in, the administrator will see the BYOD objects and their categories available to them.

For example, an object needs to be configured with projects grouped into 3 categories: Econom, Standart, Luxe.

Admin_Category.png

Create 3 rooms in each category.

Click a category to expand its room list. This list is currently empty. The button for adding rooms (+ add new) appears at the bottom. Clicking it opens the room creation menu, where the administrator must enter a room name and click the checkmark icon.

Create_room.png

The required number of rooms can be added in all categories in this way.

Rooms_in_category.png

The administrator can also specify the default guest check-in and check-out times. To do this, click Settings and specify the required times in the menu that opens.

Settings.png

These times are required by the licensing system. When a guest license is generated, its validity starts at check-in time and ends at check-out time. Once the rooms have been created, the system is ready for use.

This menu also allows the Multiple tokens in one configuration option to be enabled. This allows one room to be booked for several guests at different times. Otherwise, when a guest checks in, the room disappears from the list of available rooms for any date and time until the current guest checks out.

Creating additional fields​

Additional fields are used to display and edit information about the room configuration, the stay, and the guest.

To create a field for a category, click Fields in the room creation menu

Fields.png

2 types of fields can be created: system and custom.

System fields are already included on the Fields tab. Their values cannot be edited because they are set by the system. System fields can be deleted.

System_Fields.png

The Fields menu has an Add field button after the list of system fields. If a system field has been deleted, clicking Add field prompts you to restore a system field or create a new custom field.

Choose_your_field.png

Unlike a system field, a custom field can be edited.

Custom_Fields.png

After creating custom fields, assign a name and default value to each and set the Edit by customer checkbox. If the checkbox is selected, the field is displayed to the front desk staff member, who can edit its value. Note that this checkbox is always selected for system fields.

After creating the required fields, configure which fields the front desk staff member will see for each room.

To do this, click Set fields next to the room name

Set_Fields.png

In the menu that opens, select the fields to display and clear the checkboxes for fields that are not required

Set_Fields1.png

Previously created fields can be imported from a csv file. To do this, click Upload file in the settings menu, select the required csv file, and save the changes.

Settings.png

A csv file template can be downloaded using the link https://s3.amazonaws.com/licensetext/import_template.csv

System operation​

When registering a guest at the hotel, the front desk staff member must book a room for them. To do this, the staff member must open the BYOD account at https://byod.iridi.com and sign in. After signing in, the staff member will see the interface for guest check-in and administration.

Reseption_Main.png

To check in a new guest, click REGISTER CLIENT. In the window that opens, select the room configuration, specify the check-in and check-out dates and times and E-mail, and complete the additional fields.

Registration.png

You can limit the session time using Limit session time. Set a session time limit in minutes, and the i3 pro project will close automatically after the specified time. When the session ends, the user can download the project again using the QR code, and the session timer will restart. This setting is very useful for meeting rooms and showrooms.

The system then books the room for the specified dates, and a record appears in the main interface.

Guest.png

The front desk staff member can now send the QR code for obtaining the password to the specified email address, print it, or show it to the user on screen.

QR_code.png

The check-in and check-out dates and times are displayed with the QR code.

The project is available to the guest only during their stay. When the check-in and check-out dates are reached, the system closes the project, and it is no longer available to that guest. The front desk staff member can also edit check-in and check-out dates and send PUSH messages to a registered user.